package com.sctvcloud.dongqu.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liuyu on 2017/8/16.
 */

public class VoteInfo implements Serializable {
    private static final long serialVersionUID = -3785519721028419314L;

    /**
     * 投票id
     */
    private String voteId;
    /**
     * 投票总人数
     */
    private int voteHeadCount;
    /**
     * 投票标题
     */
    private String voteTitle;
    /**
     * 单选还是多选
     */
    private int voteType;
    /**
     * 用户是否已经参与过投票
     */
    private boolean isVoted;
    /**
     * 投票选项数组
     */
    private List<VoteOption> voteOptionsList;
    /**
     * 是否为匿名投票
     */
    private boolean isAnonymous;

    public String getVoteId() {
        return voteId;
    }

    public void setVoteId(String voteId) {
        this.voteId = voteId;
    }

    public int getVoteHeadCount() {
        return voteHeadCount;
    }

    public void setVoteHeadCount(int voteHeadCount) {
        this.voteHeadCount = voteHeadCount;
    }

    public String getVoteTitle() {
        return voteTitle;
    }

    public void setVoteTitle(String voteTitle) {
        this.voteTitle = voteTitle;
    }

    public int getVoteType() {
        return voteType;
    }

    public void setVoteType(int voteType) {
        this.voteType = voteType;
    }

    public boolean isVoted() {
        return isVoted;
    }

    public void setVoted(boolean voted) {
        isVoted = voted;
    }

    public List<VoteOption> getVoteOptionsList() {
        return voteOptionsList;
    }

    public void setVoteOptionsList(List<VoteOption> voteOptionsList) {
        this.voteOptionsList = voteOptionsList;
    }

    public boolean isAnonymous() {
        return isAnonymous;
    }

    public void setAnonymous(boolean anonymous) {
        isAnonymous = anonymous;
    }
}
